package day1109;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("提交作业：");
        String a=input.next();
        if(a.length()>4){
            if (a.endsWith(".zip")||a.endsWith(".rar")){
                System.out.println("作业提交成功！");
            }else{
                System.out.println("提交失败！");
            }
        }else {
            System.out.println("提交失败");
        }

    }
}
